home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / complib / dgtcon.z / dgtcon
Text File  |  1998-10-30  |  4KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGTTTTCCCCOOOONNNN((((3333FFFF))))                                                          DDDDGGGGTTTTCCCCOOOONNNN((((3333FFFF))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGTCON - estimate the reciprocal of the condition number of a real
  10.      tridiagonal matrix A using the LU factorization as computed by DGTTRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DGTCON( NORM, N, DL, D, DU, DU2, IPIV, ANORM, RCOND, WORK,
  14.                         IWORK, INFO )
  15.  
  16.          CHARACTER      NORM
  17.  
  18.          INTEGER        INFO, N
  19.  
  20.          DOUBLE         PRECISION ANORM, RCOND
  21.  
  22.          INTEGER        IPIV( * ), IWORK( * )
  23.  
  24.          DOUBLE         PRECISION D( * ), DL( * ), DU( * ), DU2( * ), WORK( *
  25.                         )
  26.  
  27. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  28.      DGTCON estimates the reciprocal of the condition number of a real
  29.      tridiagonal matrix A using the LU factorization as computed by DGTTRF.
  30.  
  31.      An estimate is obtained for norm(inv(A)), and the reciprocal of the
  32.      condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
  33.  
  34.  
  35. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  36.      NORM    (input) CHARACTER*1
  37.              Specifies whether the 1-norm condition number or the infinity-
  38.              norm condition number is required:
  39.              = '1' or 'O':  1-norm;
  40.              = 'I':         Infinity-norm.
  41.  
  42.      N       (input) INTEGER
  43.              The order of the matrix A.  N >= 0.
  44.  
  45.      DL      (input) DOUBLE PRECISION array, dimension (N-1)
  46.              The (n-1) multipliers that define the matrix L from the LU
  47.              factorization of A as computed by DGTTRF.
  48.  
  49.      D       (input) DOUBLE PRECISION array, dimension (N)
  50.              The n diagonal elements of the upper triangular matrix U from the
  51.              LU factorization of A.
  52.  
  53.      DU      (input) DOUBLE PRECISION array, dimension (N-1)
  54.              The (n-1) elements of the first superdiagonal of U.
  55.  
  56.      DU2     (input) DOUBLE PRECISION array, dimension (N-2)
  57.              The (n-2) elements of the second superdiagonal of U.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGTTTTCCCCOOOONNNN((((3333FFFF))))                                                          DDDDGGGGTTTTCCCCOOOONNNN((((3333FFFF))))
  71.  
  72.  
  73.  
  74.      IPIV    (input) INTEGER array, dimension (N)
  75.              The pivot indices; for 1 <= i <= n, row i of the matrix was
  76.              interchanged with row IPIV(i).  IPIV(i) will always be either i
  77.              or i+1; IPIV(i) = i indicates a row interchange was not required.
  78.  
  79.      ANORM   (input) DOUBLE PRECISION
  80.              If NORM = '1' or 'O', the 1-norm of the original matrix A.  If
  81.              NORM = 'I', the infinity-norm of the original matrix A.
  82.  
  83.      RCOND   (output) DOUBLE PRECISION
  84.              The reciprocal of the condition number of the matrix A, computed
  85.              as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the
  86.              1-norm of inv(A) computed in this routine.
  87.  
  88.      WORK    (workspace) DOUBLE PRECISION array, dimension (2*N)
  89.  
  90.      IWORK   (workspace) INTEGER array, dimension (N)
  91.  
  92.      INFO    (output) INTEGER
  93.              = 0:  successful exit
  94.              < 0:  if INFO = -i, the i-th argument had an illegal value
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.